using ZR.Model.BaseManage.Dto;
using ZR.Model.BaseManage;
using System.Collections.Generic;

namespace ZR.Service.BaseManage.IBaseManageService
{
    /// <summary>
    /// 物料信息service接口
    /// </summary>
    public interface IBaseMaterialService : IBaseService<BaseMaterial>
    {
        PagedInfo<BaseMaterialDto> GetPageList(BaseMaterialQueryDto parm);

        BaseMaterial GetInfo(string MaterialId);

        BaseMaterial AddBaseMaterial(BaseMaterial parm);

        int UpdateBaseMaterial(BaseMaterial parm);

        (string, object, object) ImportBaseMaterial(List<BaseMaterial> list);

        PagedInfo<BaseMaterialDto> ExportList(BaseMaterialQueryDto parm);

        Task<bool> CogradientMaterial(List<WmsMaterialDto> list);
    }
}
